<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <link rel="stylesheet" href="http://cache.amap.com/lbs/static/main1119.css"/>
    <title>All pages</title>
    <style>
        .info-title{
            color: white;
            font-size: 14px;
            background-color: blue;
            line-height: 26px;
            padding: 0px 0 0 6px;
            font-weight: lighter;
            letter-spacing: 1px
        }
        .info-content{
            padding: 4px;
            color: #666666;
            line-height: 23px;
            font: 12px Helvetica, 'Hiragino Sans GB', 'Microsoft Yahei', '微软雅黑', Arial;
        }
        .info-content img{
            float: left;
            margin: 3px;
        }
    </style>
     <style type="text/css">
        #panel {
            position: absolute;
            background-color: white;
            max-height: 80%;
            overflow-y: auto;
            top: 10px;
            right: 10px;
            width: 250px;
            border: solid 1px silver;
        }
    </style>
    
    <script src="http://webapi.amap.com/maps?v=1.3&key=4a1544569e55725c75df064bde40a897&plugin=AMap.PlaceSearch,AMap.AdvancedInfoWindow"></script>
    <script type="text/javascript" src="http://cache.amap.com/lbs/static/addToolbar.js"></script>
</head>
<body>
<input type="text" />查询
<div id="container"></div>
<div id="panel"></div>
<div id="tip">
<input type="text" id="keyword" name="keyword" value="请输入关键字：(选定后搜索)" onfocus="this.value='';"/>
</div>
<script>
   
    var marker, map = new AMap.Map('container', {
        resizeEnable: true,
        center: [116.433277,39.941199],
        zoom: 15,  //显示级别
        layers: [
            new AMap.TileLayer(),//普通地图
            //  new AMap.TileLayer.Satellite(),//卫星图
        ]
    });
 </script>
 </body>
 
 </html>